-- GENERATED SPELL FOR [Drakuru Raptor Rider] --


function spell0_29699(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(15547,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29699', 582, 1)
end

function Sorts_29699(pUnit, Event)
local choix_sorts_29699 = math.random(0, 0)
if choix_sorts_29699 == 0 then
pUnit:RegisterEvent('spell0_29699', 1, 1)
end
end

function mob29699_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29699', math.random(1500, 3000), 1)
end

function mob29699_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29699_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29699_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29699, 1, 'mob29699_Action')
RegisterUnitEvent(29699, 2, 'mob29699_Leave')
RegisterUnitEvent(29699, 3, 'mob29699_Kill')
RegisterUnitEvent(29699, 4, 'mob29699_Die')
